package com.ymm.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * (Log)表实体类
 *
 * @author 椰咩咩咩
 * @since 2023-01-20 13:03:40
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_log")
public class Log {
    //客户端信息id
    @TableId
    private Long id;

    //是否为移动设备
    private String isMobile;
    //浏览器厂商
    private String browser;
    //浏览器版本
    private String browserVersion;
    //浏览器内核
    private String engine;
    //内核版本
    private String engineVersion;
    //操作系统
    private String os;
    //请求描述
    private String businessName;
    //请求URL
    private String url;
    //请求的方法
    private String classMethod;
    //请求的参数
    private String requestArgs;
    //请求方式
    private String httpMethod;
    //ip地址
    private String ip;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date createTime;

    private String delFlag;


}

